#ifndef PH_API_WIDGET_IND_H__
#define PH_API_WIDGET_IND_H__

#include "common.h"
#include <structmember.h>

//=====================================================================
//                  PhotonClass - to pass to Widget  
//=====================================================================
/**
 * Identificator of PtWidget passed to Photon Library
 */
typedef struct
{
  PyObject_HEAD
  PtWidgetClassRef_t *widget_class; ///< For calling PtCreateWidget
} WidgetInd;

static void WidgetInd_dealloc (WidgetInd* self);
static PyObject* WidgetInd_new (PyTypeObject* type, PyObject* args);
static int WidgetInd_init (WidgetInd* self, PyObject* args);

static PyMemberDef  WidgetInd_members []; 
static PyMethodDef  WidgetInd_methods [];
static PyTypeObject WidgetIndType;

#endif

